﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Medhurst.Unity.Examples.Logging
{
    /// <summary>
    /// This implementation pretends to work on log4net, but as it is just an example, it does nothing.
    /// </summary>
    public sealed class Log4Net : ILog
    {
        /// <summary>
        /// Ctor
        /// </summary>
        public Log4Net()
        {
            // log = LogManager.GetLogger(this);
        }

        public void Info(string message)
        {
            // log.Info(message);
        }

        public void Warn(string message)
        {
            // log.Warn(message);
        }

        public void Error(string message)
        {
            // log.Error(message);
        }

        public void Error(Exception ex)
        {
            // log.Error(ex);
        }
    }
}
